package com.gaokao.demo.service;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.gaokao.demo.entity.College;

import java.util.List;

/**
 * <p>
 * 服务类
 * </p>
 *
 * @author szs
 * @since 2021-01-22
 */
public interface ICollegeService extends IService<College> {

    /**
     * 获取学校列表
     *
     * @param page
     * @param queryWrapper
     * @return
     */
    IPage<College> getCollegeList(IPage<College> page, Wrapper<College> queryWrapper);

    /**
     * 获取学校分类
     *
     * @return
     */
    List<String> getClassifys();

    List<Object> getSchoolBumens();

    boolean deleteUserById(String id);

    boolean addCollege(College college);

}
